<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js">/*
 * Copyright (c) 2016 VUI(https://git.oschina.net/durcframework/vui) All rights reserved.
 */

;(function(){

<span id='VUI-Calendar'>/**
</span> * 日历控件
 * @class VUI.Calendar
 * @extends VUI.Component
 */
VUI.Class('Calendar',{
	// 默认属性
	OPTS:{
<span id='VUI-Calendar-cfg-showFoot'>		/**
</span>		 * @cfg {Boolean} showFoot 是否显示底部按钮部分
		 */
		showFoot:false
<span id='VUI-Calendar-cfg-clickHandler'>		/**
</span>		 * @cfg {Function} clickHandler 点击日期触发的事件
		 */
		,clickHandler:function(dayData){}
	}
<span id='global-method-constructor'>	/**
</span>	 * 构造函数
	 * @constructor
	 * @ignore
	 */
	,init:function(opts) {
		this._super(opts);
	}
	//@override
	,getViewClass:function() {
		return VUI.CalendarView;
	}
	,visiable:function() {
		return this.view.visiable();
	}
	,showCalendar:function(date) {
		this.view.showCalendar(date);
	}
},VUI.Component);

})();</pre>
</body>
</html>
